import collections